#ifndef GLOBALS_H
#define GLOBALS_H

#include <QVector>
#include"shoppingcart_ui.h"
#include"UserPersonal_ui.h"
#include"UserPersonal_ui_logic.h"
#include<QJsonArray>
#include "Product.h" // 你的Product结构体定义

extern QVector<Product> mangaProductList;    // 声明全局变量
extern QVector<Product> zhoubianProductList; // 声明全局变量
extern ShoppingCartUI *newBuyCart;
extern UserPersonal *newPage4;
extern  UserPersonalLogic *uplogic;
extern   QJsonArray ordersArray;
extern  int imgindex;
extern int indexlen ;
#endif // GLOBALS_H
